package com.sac;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(exclude = {
        org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class
})
@EnableTransactionManagement
@ServletComponentScan
//@MapperScan("com.sac.**.dao") 双数据源时，不能在此开启注解
@EnableCaching
public class SACApplication {
    public static void main(String[] args) {
        SpringApplication.run(SACApplication.class, args);
        System.out.println("=====  HPPS SAC Server启动成功  =====\n");
    }
}
